<?php
namespace App\Module\Teacher\Request\Login;

use Hyperf\Validation\Request\FormRequest;

class LoginRequest extends FormRequest{

    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'username'=>'required',
            'password'=>'required',
        ];
    }
}